package cl.lexer.validator;

import java.util.ArrayList;
import java.util.List;

public class Validators {
    
    public static List<TokenValidator> getAll() {
        List<TokenValidator> defs = new ArrayList<TokenValidator>();    
        
        defs.add(new CloseBracketValidator());
        defs.add(new CommaValidator());
        defs.add(new ConnectorValidator());
        defs.add(new IdentifierValidator());
        defs.add(new TypeValidator());
        defs.add(new IntegerValidator());
        defs.add(new OpenBracketValidator());
        defs.add(new OperatorValidator());
        defs.add(new AssignmentOperatorValidator());
        defs.add(new SemicolonValidator());
        defs.add(new StringValidator());
        defs.add(new WhiteSpaceValidator());
        
        // Keyword must be last so it takes priority
        defs.add(new KeyworValidator());
        
        return defs;
    }
}
